package com.lifeng.shop.lifengshop.pojo.entry;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 订单表
 * @author 
 */
@Data
public class Order implements Serializable {
    private Integer oid;

    private String uid;

    private String status;

    private Integer sum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    private String phone;

    private String receiver;

    private String address;

    private static final long serialVersionUID = 1L;
}